package com.gz.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 角色信息表(RoleInfo)实体类
 *
 * @author makejava
 * @since 2024-02-21 16:10:02
 */
@Data
@ApiModel("RoleInfo实体类")
public class RoleInfo implements Serializable {

  private static final long serialVersionUID = -46526655637273487L;
  @ApiModelProperty("主键,自增")
  private Integer id;
  @ApiModelProperty("角色名称")
  private String name;
  @ApiModelProperty("角色描述")
  private String roleDesc;
  @ApiModelProperty("状态,1:启用,0:禁用           默认1")
  private Integer status;
  @ApiModelProperty("删除状态,0:未删除,1:已删除      默认0")
  private Integer deleteFlag;
  @ApiModelProperty("数据创建人id")
  private Integer crtId;
  @ApiModelProperty("数据创建人时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date crtDt;
  @ApiModelProperty("数据更新人id")
  private Integer optId;
  @ApiModelProperty("数据更新时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date optDt;

}

